package com.aaa.ps.service;

import com.aaa.common.entity.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MenuService {
    //根据id删除
    int deleteByPrimaryKey(Integer menuId);

    //添加
    int insertSelective(Menu record);

    //根据id 查询
    Menu selectByPrimaryKey(Integer menuId);

    //更新
    int updateByPrimaryKeySelective(Menu record);

    //列表查询
    List<Menu> selectAll();
}
